﻿<%@ Page Language="C#" MasterPageFile="~/Themes/ContentPage.master" %>

<script runat="server">
    protected override void OnLoad(EventArgs e)
    {
        news.SkinFileName = GetNewsSkinFileName();
    }

    private string GetNewsSkinFileName()
    {
        switch (SiteContext.Current.BaseNodeId)
        {
            default:
                return "Globals_News.ascx";
        }
    }

</script>

<asp:Content ID="Content1" ContentPlaceHolderID="mainContent" runat="Server">
    <lswweb:SkinControl ID="news" runat="server" />
</asp:Content>
